package com.woniu.punishcomplaintnotice.service;

import com.woniu.common.entity.PageResult;
import com.woniu.common.entity.PunishmentRecord;

public interface PunishService {
    void insertPunish(PunishmentRecord punishmentRecord);

    //查询全部违规行为
    PageResult<PunishmentRecord> findAllPunishment(Integer page,Integer size);

    //远程调用惩罚记录
    PageResult<PunishmentRecord> findPunishmentByUid(Integer u_id, Integer page, Integer size);
}
